package com.gator.desig_mode.mvc2;


public interface Handler {
  public void doHandler();
}

class HttpHandler implements Handler {

  public void doHandler(){
    System.out.println("HttpHandler...");
  }

}

class SimpleHandler implements Handler {
    public void doHandler(){
      System.out.println("SimpleHandler");
    }
}

class AnnotationHandler implements Handler {

    @Override
    public void doHandler() {
      System.out.println("AnnotationHandler...");
    }

}